/*
 * @Author: your name
 * @Date: 2021-06-03 23:31:02
 * @LastEditTime: 2021-06-03 23:41:32
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: /qiankun/qiankun-react/src/App.js
 */
import logo from "./logo.svg";
import "./App.css";
import { BrowserRouter } from "react-router-dom";

function App() {
  return (
    <BrowserRouter basename={window.__POWERED_BY_QIANKUN__ ? "/react" : "/"}>
      <div className="App">
        <header className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <p>
            Edit <code>src/App.js</code> and save to reload.
          </p>
          <a
            className="App-link"
            href="https://reactjs.org"
            target="_blank"
            rel="noopener noreferrer"
          >
            Learn React
          </a>
        </header>
      </div>
    </BrowserRouter>
  );
}

export default App;
